class AddStatusAndPriorityToIssues < ActiveRecord::Migration
  def self.up
    add_column :issues, :status_id, :integer
    add_column :issues, :priority_id, :integer
    add_column :issues, :percent_complete, :integer, :default => 0
  end

  def self.down
    remove_column :issues, :status_id
    remove_column :issues, :priority_id
    remove_column :issues, :percent_complete
  end
end
